package org.jeecg.modules.wlhy.etcfeeclouds.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: hy_etcfeeclouds_trade
 * @Author: duanlikao
 * @Date:   2021-09-07
 * @Version: V1.0
 */
@Data
@TableName("hy_etcfeeclouds_trade")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_etcfeeclouds_trade对象", description="hy_etcfeeclouds_trade")
public class HyEtcfeecloudsTrade implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private java.lang.String id;
	/**运单编号*/
	@Excel(name = "运单编号", width = 15)
    @ApiModelProperty(value = "运单编号")
    private java.lang.String orderNum;
	/**交易的Id号码*/
	@Excel(name = "交易的Id号码", width = 15)
    @ApiModelProperty(value = "交易的Id号码")
    private java.lang.String tradeId;
	/**交易时间*/
	@Excel(name = "交易时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "交易时间")
    private java.util.Date exTime;
	/**交易金额*/
	@Excel(name = "交易金额", width = 15)
    @ApiModelProperty(value = "交易金额")
    private java.math.BigDecimal fee;
	/**
     * 交易状态
     * 1 为待开具,2 为开具中,3 为已开具,9 为交易异常（产生原因：道路业主未上传、道路业主当前无票、道路业务开票设备信息维护）*/
	@Excel(name = "交易状态", width = 15, dicCode = "etcfeeclouds_trade_status")
	@Dict(dicCode = "etcfeeclouds_trade_status")
    @ApiModelProperty(value = "交易状态")
    private java.lang.Integer state;
	/**交易流水号*/
	@Excel(name = "交易流水号", width = 15)
    @ApiModelProperty(value = "交易流水号")
    private java.lang.String tradeFlowNo;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
}
